<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
function getId(id){ return document.getElementById(id) }
function init(){
	getId('btnList').onclick=function(){
		location.href='MyHome.jsp?inc_content=./member/list.jsp';
		}
	getId('btnDelete').onclick=function(){
		frm.action='MyHome.jsp?inc_content=./member/delete_result.jsp';
		frm.submit();
	}
	
}
</script>
</head>
<body>
<jsp:useBean id="bean" class="member.Login" scope="page"/>
<jsp:setProperty property="*" name="bean"/>

<h1>회원정보 삭제</h1>
<form name='frm' method='post'>
아이디 : <input type='text' name='memberid' value='<%bean.getMemberid();%>'>
암호 : <input type='text' name='pwd'><p/>
	<input type='button' value='목록' id='btnList'>
	<input type='button' value='삭제' id='btnDelete'>

</form>
<script >init();</script>
</body>
</html>